// @reduxjs/toolkit   toolkit 工具
//导入 createSlice 函数   create 创建  slice 切片 
// configure 配置  store 仓库
import { configureStore} from '@reduxjs/toolkit'
import countReducer from './slices/countSlice';
import zanReducer from './slices/zanSlice';

//创建 store 对象
let store = configureStore({
  reducer: {
    count: countReducer,
    zan: zanReducer
  }
});

export default store;




